package mk.timska_rabota_android;

import java.io.ByteArrayOutputStream;

import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.StatusLine;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;

import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import android.widget.Toast;
import android.content.Context;
import android.content.Intent;
public class TrialServices extends Activity  {
	private static final String SetServerString = null;
	EditText message_field;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_trial_services);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.create_message, menu);
		return true;
	}
	
	public void returnMessage(View v){
		Intent returnValue = new Intent("");
		message_field = (EditText)findViewById(R.id.message_field);
		String message = message_field.getText().toString();
		returnValue.putExtra("created_message", message);
		setResult(Activity.RESULT_OK, returnValue);
		finish();
		
	}
	public void getServices(View v)
	{
		Context appContext = getApplicationContext();
		Toast ts = Toast.makeText(appContext, "Services will go here ", Toast.LENGTH_LONG);
		ts.show();
		 
		
		
	}
	

}